package com.zth.Service;

import com.github.pagehelper.PageInfo;
import com.zth.entity.MyPage;
import com.zth.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService {

    //查询全部 配合分页
    List<User> findAll();

    User loginDev(User user);

    //注册 1.2
    Boolean reg(User user);

    PageInfo queryByPage(MyPage page);

    Boolean updStatus(User user);

    Boolean updUserinfo(User user);

    User queryById(Integer id);



}
